<?php
/*
 +----------------------------------------------------------------------
 | TEMMOKUMVC [ NO BEST, ONLY BETTER ]
 +----------------------------------------------------------------------
 | Copyright (c) 2018~2019 https://www.temmoku.cn All rights reserved.
 +----------------------------------------------------------------------
 | Author: 张宗强 Email:webmaster@temmoku.cn QQ:158726877 516669373 TEL:17895221001 微信:temmokumvc
 +---------------------------------------------------------------------- 
*/
namespace news\admin\controller;
use \temmoku\admin;
use \temmoku\lib\pinyin AS pinyins;
class pinyin extends admin
{
	public function pinyin(){
		$pinyin= pinyins::pinyin($_GET['name']);
    	echo json_encode(['code'=>0,'pinyin'=>$pinyin]);
	}
}
?>